package com.sheyu.mall.product.dao.attr;

import com.sheyu.mall.product.entity.attr.AttrEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 商品属性
 *
 * @author sheyu
 * @email sheyu@XXX.com
 * @date 2020-07-27 12:44:31
 */
@Mapper
public interface AttrDao extends BaseMapper<AttrEntity> {

    List<Long> selectSearchAttrs(@Param("attrIds") List<Long> attrIds);

    Long selectByCateIdBySQL(@Param("catId") Long catId);

}
